student_dict = {}
name = input("请输入学生姓名：")
student_name = {'name': name}

age = input("请输入学生姓名：")
student_age = {'age': age}

sex = input("请输入学生姓名：")
student_sex = {'sex': sex}

student_dict |= student_name
student_dict |= student_age
student_dict |= student_sex
print(student_dict)
